package com.we.wecc.aw.mid.service;

import com.we.wecc.aw.db.model.AwardSpeech;
import com.we.wecc.aw.mid.model.in.AwardSpeechIn;
import com.we.wecc.aw.mid.model.out.AwardSpeechOut;
import com.x.share.db.model.Pagination;

public interface AwardSpeechService {

    /**
     * 添加或编辑获奖感言
     * @param in
     * @return
     */
    AwardSpeech saveAwardSpeech(AwardSpeechIn in);

    /**
     * 删除获奖感言
     * @param id
     * @return
     */
    Boolean deleteAwardSpeech(int id);

    /**
     * 分页获取某活动获奖感言列表
     * @param awardId
     * @param pageNo
     * @param pageSize
     * @return
     */
    Pagination<AwardSpeechOut> getAwardSpeechListByAward(int awardId, Integer pageNo, Integer pageSize);

    /**
     * 分页获取获奖感言列表
     * @param pageNo
     * @param pageSize
     * @return
     */
    Pagination<AwardSpeechOut> getAwardSpeechList(Integer pageNo, Integer pageSize);


}
